import request from '@/utils/request'

// 查询黑名单列表
export function listBlacklistUser(query) {
  return request({
    url: '/system/blacklist/list',
    method: 'get',
    params: query
  })
}

// 删除黑名单
export function delBlacklistUser(choiceList) {
  return request({
    url: '/system/blacklist/remove',
    method: 'delete',
    data: choiceList
  })
}

// 导出黑名单
export function exportBlacklistUser(query) {
  return request({
    url: '/system/blacklist/export',
    method: 'get',
    params: query
  })
}